package tt.dz.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import tt.dz.dao.pro.UserPayCardDao;
import tt.dz.entity.UserPayCard;
import tt.dz.service.UserPayCardService;

/**
 * 
 * @author Administrator
 *
 */
@Service
public class UserPayCardServiceImpl implements UserPayCardService{

	@Resource
	UserPayCardDao<UserPayCard> userPayCardDao;

	@Override
	public UserPayCard getUserPayCardByUserId(Integer userId) {
		return userPayCardDao.findUserPayCardByUserId(userId);
	}
}
